package com.chat.bean;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

@AllArgsConstructor//全参构造
@NoArgsConstructor//无参构造
@Data//get set
@Accessors(chain = true)//链式写法
@JsonIgnoreProperties({ "handler","hibernateLazyInitializer" })
public class ChatMsg {
    private String senduserid;

    private String reciveuserid;

    private Date sendtime;

    private String msgtype;

    private String sendtext;

}